/*
 * Expression.cpp
 *
 *  Created on: Aug 5, 2009
 *      Author: ramesh
 */

#include "Expression.h"
#include "Variable.h"

#include "../../Shared.h"

using namespace SymphonyAST;


Expression::Expression(const string& operand, const string& op) {
	this->lvalue = operand;
	this->op = op;
}


Variable* Expression::getLVar() {
	return getVariable(lvalue);
}
